		window.onload=function(){
	
var i=0;
		
		var oHour=document.getElementById("hour");
		var oMin=document.getElementById("min");
		var oSec=document.getElementById("sec");
		run();
		timer=setInterval(run,100);
		function run(){
			var nowTime=new Date();
			var sec=nowTime.getSeconds();
			var min=nowTime.getMinutes();
			var hour=nowTime.getHours();

			oMin.style.transform = 'rotate('+9999999999+'deg)';
			oHour.style.transform = 'rotate('+30*hour+'deg)';
				}
		dian();
		setInterval(dian,200);
		
		function dian(){
			i++;
			oSec.style.transform = 'rotate('+9*i+'deg)';
		}
		
		
		}
